package com.dreem.builder.improve;

/**
 * @program: DesignParrtern
 * @description: 普通房
 * @author: Peng
 * @create: 2021-01-29  10:42
 **/
public class CommonHouse extends HouseBuilder {
    @Override
    public void buildBasic() {
        this.house.setBasic("5m");
        System.out.println("CommonHouse : building Basic...");
    }

    @Override
    public void buildWalls() {
        this.house.setWalls("10cm");
        System.out.println("CommonHouse : building Walls...");
    }

    @Override
    public void buildRoof() {
        this.house.setRoofed("commonRoof");
        System.out.println("CommonHouse : building Roof...");
    }
}
